home *** CD-ROM | disk | FTP | other *** search
- Path: news.cstone.net!usenet
- From: scottv@cstone.net (Scott)
- Newsgroups: comp.lang.c++
- Subject: Re: Component, OCX or OLE
- Date: 14 Feb 1996 23:38:21 GMT
- Organization: Cornerstone Networks - Pure Internet!
- Message-ID: <4ftrpd$jg7@dot.cstone.net>
- References: <mictaliDMrpKt.55I@netcom.com>
- NNTP-Posting-Host: dialin14.cstone.net
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
- In article <mictaliDMrpKt.55I@netcom.com>, mictali@netcom.com says...
- >
- >I have a question concerning the best approach to take.
- >
- >Here is the scenario:
- >
- >We would like to develop and object the incorporates the GUI form tied to a
- >known table structure in an undefined ODBC source. We'd like to be able to,
- >for instance, build a re-usable data entry screen for customer information
- >then incorporate that object into different applications.
- >
- >What I can't determine is whether I should create the object as a component,
- >OLE server or an OCX (DLL).
- >
- >Any help would be appreciated.
- >
- >Jere_McDevitt@Theratx.Com
- >mictali@netcom.com
-
- I personally like to deal with and create the OCX approach, but one benfit
- that OLE supports that the OLE custom control does not is - remote OLE
- automation. Would it be benficial for your OLE server to actually reside on
- a server computer to perform calculations and database access and use the GUI
- on a remote computer? This would allow for faster access if you are not
- using an SQL server to allow the server to do the ODBC work on the server and
- send only the data through the use of the OLE server through the network with
- the results /vice/versa. I've always felt more comfortable with the
- integration of the OCX with the application than OLE but thats a phobia of
- mine that I need to overcome...but there are a few benefits of each. My last
- program had a limitation of very low network traffic, which remote OLE helped
- with along with allowing the application to run on a slower computer by
- offseting the caculations on a server computer.
-
- Good Luck,
- N. Scott Vann
- Motivational Concepts, Inc.
- Software Engineering/Multimedia Training Systems
-
-